<script setup lang="ts">
interface IProps {
    label?: string
    labelWidth?: string
}
const props = withDefaults(defineProps<IProps>(), {
    labelWidth: 'auto'
})
const labelStyle = computed(() => {
    return {width: props.labelWidth}
});
</script>
<template>
    <div class="table-filter-container flex flex-row flex-nowrap items-center pt-6px pb-6px">
        <div class="label" :style="labelStyle">{{label}}</div>
        <div class="filter-compontent">
            <slot></slot>
        </div>
    </div>
</template>